{template 'common/header'}
<div class="container">
	<div class="row">
		<div class="span12">
			<div class="panel panel-primary">
				<div class="panel-heading">
					<h3 class="panel-title">
						你的微站：
					</h3>
				</div>
				<div class="panel-body">
					{loop $sites $site}
					<div><h3><a href="{php echo curl('manage/weizhan',array('multiid'=>$site[id]))}">{$site['title']}</a><small>{$site['describe']}</small></h3></div>
					{/loop}
				</div>
			</div>
			<div class="panel panel-success">
				<div class="panel-heading">
					<h3 class="panel-title">开通的模块</h3>
				</div>
				<div class="panel-body">
					{loop $modules_valid $module}
					<button class="btn btn-danger">{$module['title']}</button>
					{/loop}

				</div>
			</div>
			<div class="panel panel-info">
				<div class="panel-heading">
					<h3 class="panel-title">过期的模块</h3>
				</div>
				<div class="panel-body">
					{loop $modules_invalid $module}
					<button class="btn btn-info">{$module['title']}</button>
					{/loop}
				</div>
			</div>
			<a href="{php echo url('module/list')}">添加更多模块</a>
			</div>
	</div>
</div>


